/*
    Document   : custom
    Created on : 3 févr. 2011, 15:24:50
    Author     : younessmondir
    Description:
        Purpose of the stylesheet follows.
*/

/*
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
*{
    padding: 0;
    margin: 0;
    font-size: 12px;

}
body{
    background: #f1f0e7 url(../img/themeFF/grain.png) repeat;
    font-family: helvetica,'lucida grande',verdana,arial,sans-serif;
    font-size: 90%;
    margin:0;
}
#header{
    height:100px;
    clear: both;
    width: 100%;

}
#menu{
    height:40%;
    width: 1000px;
    margin: 0 auto;
}
#headInfo{
    height:50px;
    width: 1000px;
    margin: 0 auto;
    padding-top: 10px;
    clear:both;
}
#headLogo{
    width: 145px;
    padding-left: 10px;
    height: 50px;
    float: left;
}
#headTitle{
    width: 595px;
    height: 50px;
    float: left;
    color:#666;
    font-size: 200%;
    text-align: center;
    line-height: 50px;
}
#headuser{
    border:#a8b8d1 1px solid;
    width:248px;
    height: 48px;
    color:#666;
    float: left;

    background:#ecf1f7;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#ecf1f7));
	background-image: -moz-linear-gradient(top, #FFF, #ecf1f7);
     -moz-box-shadow:#DDD 3px 3px 3px;
     -webkit-box-shadow:#DDD 3px 3px 3px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius:10px;
    -ms-border-radius:10px;

}
 .uInfo{
    float:left;
    width: 50%;
    height:80%;
    margin:5%;
}
 .logout{
    float: left;
    width: 30%;
    height: 80%;
    margin:5%;
}
.logout a{
    color: #666;
    text-decoration:  underline;
}
.logout a:hover{
    color: #FFF;
    text-decoration:  underline;
}
#menu ul{
    list-style: none;
    width: 600px;
    height:100%;
    margin-left:150px;

}
#menu ul li{
    float: left;
    width:148px;
    height:100%;
    line-height: 40px;
    color: #FFF;
    text-align: center;
}
#menu ul li.separator{
    height:22px;
    margin-top:9px;
    width:2px;
    float: left;
    background:url(../img/separator.png) top left no-repeat;
}
#menu ul li a{
   width:140px;
   margin: 0 5px;
   text-decoration: none;
   color:#FFF;
   display: block;
}
#menu ul li a:hover{
background:url(../img/highlight.png) top left no-repeat;
}
#menu ul li a.active{
    width:140px;
   margin: 0 5px;
   text-decoration: none;
   color:#FFF;
   display: block;
   line-height:35px;
background:url(../img/active.png) top left no-repeat;
}

.loader{

    color:white;
    position: absolute;
    top:40px;
    right:50px;
    display: none;
    width:200px;
    height:70px;

    text-align: left;
    padding-left: 15px;
    background: #a3bf2a url(../img/ajax-loader.gif) center right  no-repeat;
    background-position: 150px 20px;
    line-height: 70px;
    opacity:0.6;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -o-border-radius:10px;
    border-radius:10px;
}

.alerts{
    display: none;
    color:white;
    position: absolute;
    top:100px;
    right:650px;
/*    display: none;*/
    width:200px;
    height:70px;
    color: white;
    text-align: left;
    padding-left: 15px;
   background: #a3bf2a url(../img/ajax-loader.gif) center right  no-repeat;
    background-position: 150px 20px;
    line-height: 70px;
    opacity:0.9;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -o-border-radius:10px;
    border-radius:10px;
}
/*
Pages
*/
#content{
    width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 10px;
    clear: both;
}
#sidemenu{
    height: 100%;
    width: 155px;

    float: left;

       -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
}
#sidemenu .sidemenuBottom{


    height:20px;
    width: 150px;
    margin-left: 5px;

    background-color: #a3bf2a;
-moz-border-radius-topleft: 0px;
-moz-border-radius-topright:0px;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-webkit-border-top-left-radius:0px;
-webkit-border-top-right-radius:0px;
-webkit-border-bottom-left-radius:5px;
-webkit-border-bottom-right-radius:5px;
-o-border-top-left-radius:0px;
-o-border-top-right-radius:0px;
-o-border-bottom-left-radius:5px;
-o-border-bottom-right-radius:5px;
}
#sidemenu .sidemenuTitle{
    color:white;
    text-align: center;
    height:19px;
    border-bottom: 1px solid #a3bf2a;
    text-decoration: underline;
    width: 150px;
    margin-left: 5px;
    line-height: 20px;
    background-color: #718a06;
   -moz-border-radius-topleft: 5px;
-moz-border-radius-topright:5px;
-moz-border-radius-bottomleft:0px;
-moz-border-radius-bottomright:0px;
-webkit-border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
-webkit-border-bottom-left-radius:0px;
-webkit-border-bottom-right-radius:0px;
-o-border-top-left-radius:5px;
-o-border-top-right-radius:5px;
-o-border-bottom-left-radius:0px;
-o-border-bottom-right-radius:0px;
}

#sidemenu ul{
   list-style: none;
    color:#FFF;
    background: url(../img/sidemenu.png) top left repeat-y;
}
#sidemenu ul li{
    text-align: center;
    height: 30px;
    background: url(../img/separatorSide.png) bottom left no-repeat;
    line-height: 30px;
}
#sidemenu ul li a{
    text-decoration: none;
    color:#FFF;
    width:150px;
    height: 30px;
    padding-left: 5px;
    display: block;
    text-align: center;
}
#sidemenu ul li a:hover{
    background: url(../img/highlightSide.png) top right repeat-y;
}
#sidemenu ul li a.active{
    background: url(../img/activeSide.png) top right repeat-y;
    line-height: 25px;
}

.contenu{
    padding: 10px;
    width: 100%;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    border: 1px solid #c3cedf;
    margin-bottom: 15px;
    overflow: auto;
    background:#f6f5ef url(../img/themeFF/grain.png) repeat;

}
.clear{
    clear: both;
}
.prmdform{
    height:600px;
    width:100%;
    display: block;
    position: relative;
    overflow: hidden;

}
.prmdf{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 99%;
    height:600px;
    display: block;
    overflow:  auto;
}
.showNextDiv{
    cursor: pointer;
}
.showNextDiv:hover, .showNextDiv h2:hover{
    color:#4ca83d ;
    cursor: pointer;
}
.isHidden{
    display: none;
}
#contenu{
    float:left;
    width:800px;
    padding: 10px;
background:#f6f5ef url(../img/themeFF/grain.png) repeat;
    margin-left: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    border: 1px solid #c3cedf;
    margin-bottom: 15px;
    overflow: auto;
}
h2{
    font-size: 110%;
    font-weight: bold;
    color:#666;
    height:20px;
    margin-bottom: 5px;
    border-bottom: 3px solid #718a06;
}
#contenu h2{
    font-size: 110%;
    font-weight: bold;
    color:#666;
    height:20px;
    margin-bottom: 5px;
    border-bottom: 3px solid #718a06;
}
#footer{
    width: 1000px;
    margin: 20px auto;

    clear: both;
    padding: 5px;
    border-top: 1px solid #DDD;
    color:#333;
    text-align: right;
    font-size: 70%;
}
.footinfo{
    width: 70%;
    margin-right:10px;
    float: left;
    font-size: 90%;
}

/** Tables **/
table {
	background: #fff;
	border-right:0;
	clear: both;
	color: #555;
	margin-bottom: 10px;

	width: 100%;
         -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    border: 1px solid #DDD;
}
th.roundR{

-moz-border-radius-topright:5px;

-webkit-border-top-right-radius:5px;

-o-border-top-right-radius:5px;

}
th.roundL{
      -moz-border-radius-topleft: 5px;

-webkit-border-top-left-radius:5px;

-o-border-top-left-radius:5px;

}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:4px;
        background-color: #01709d;
        border-right: 1px solid #013f59;
        border-left: 1px solid #028bc2;

}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
        color: #FFF;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
	background: #fff;
	padding: 6px;
	text-align: left;
	vertical-align: top;
/*        border-right: 1px solid #a6a6a6;
        border-left: 1px solid #dadada;*/
border-right: 1px solid #a6e6fe;
        border-left: 1px solid #dbf5ff;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
	background: #cdf1ff;
}
table .altrow td {
	background: #cdf1ff;
        border-right: 1px solid #a6e6fe;
        border-left: 1px solid #dbf5ff;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}


/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 16px 20px;
         -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
}
fieldset legend {
	background:#fff;
	color: #718a06;
	font-size: 140%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form .input {
	color: #666;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
        font-weight: bold;
    color:#666;
    height:20px;
	margin-bottom:3px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: helvetica,'lucida grande',verdana,arial,sans-serif;
	padding: 1%;
	width:98%;
               -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
}
select {
	clear: both;
	font-size: 120%;

	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;

	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;

}
input[type=submit] {
	display: inline;
	font-size: 110%;
	width: auto;
}
a.submit{
	background:#62af56;
	background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}

a.submit:hover{
background:#4ca83d;
	background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
}
form .submit input[type=submit] {
	background:#62af56;
	background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}
form .submit input[type=submit]:hover {
	background:#4ca83d;
	background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
}
input[type=submit]{
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
}
input[type=submit]:hover {
	background: #f0f09a;
	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}
.nextPrmdf{float: right;}
.prevPrmdf{float: left;}
.prevPrmdf,.nextPrmdf{

	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
        width: 30px;
        cursor: pointer;
        display: block;
        text-align: center;
}
.prevPrmdf:hover,.nextPrmdf:hover,.showNextBtn:hover {
	background: #f0f09a;
	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));

}
.showNextBtn{
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
        width: 100px;
        cursor: pointer;
        text-align: center;
        margin: 10px 5px;
}
.showNextBtn a{
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    color:#333;
    height: 100%;
    cursor: pointer;
    text-shadow:#fff 0px 1px 0px;
}


div.view {

	width:76%;

	padding:10px 2%;
}

dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/**  Actions  **/
div.actions ul {
	margin: 0;
	padding: 0;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
        width:150px;

}
div.actions ul li a:hover {
	text-decoration: underline;
}


div.actions ul li a,
td.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
}

div.actions ul li a:hover,
td.actions a:hover {
	background: #f0f09a;
	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}

/** Related **/
div.related {
	clear: both;
	display: block;
}

.info{
    width: 90%;
    min-height: 25px;
    background-color: #028bc2;
    border: 2px solid #0000FF;
    color:white;
    padding: 5px;
    line-height: 25px;
    font-size: 110%;
    font-weight: bold;
     -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -o-border-radius:10px;
    border-radius:10px;
}
.big{
    font-weight: bold;
    font-size: 150%;
    text-align: center;
    width: 100%;
}
.eicovisa a{
    text-decoration: none;
}
.myalerts{

    color:white;
    position: absolute;
    top:100px;
    right:650px;
/*    display: none;*/
    width:400px;
    height:100px;
    color: white;
    text-align: left;
    padding-left: 15px;
   background-color: #ff0022 ;
    background-position: 150px 20px;
    line-height: 70px;
    opacity:0.9;
    border: 2px solid #770011;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -o-border-radius:10px;
    border-radius:10px;
    display: none;
    font-size: 130%;
    font-weight: bold;
}

.UserInformation{
     padding: 10px;
    width: 100%;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    border: 1px solid #DDD;
    background-color: #edf1ff;
    margin-bottom: 15px;
    overflow: auto;
    display:none;
}

.formInfo{
     padding: 15px;
    width: 95%;
    display: block;

    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius:10px;
    border: 4px solid #DDD;
    background-color: #fff;
    margin: 15px auto;
   overflow: hidden;
    clear: both;
}
.formInfo.active
.formBasicInfo{
    width: 100%;
}
.formBasicInfo dl{
    float: left;
    width: 50%;
}
.loadme{
    background: url(../img/load.gif) center center no-repeat;
    width: 100%;
    height:100px;
}
.infoContent{
    width: 97%;
    display: none;
    margin-bottom: 25px;
   padding: 15px;
position: relative;
border-bottom: 3px  double #718a06;
}
.formDetailInfo{
    margin: 20px;
    display: none;
     height:auto !important;
}
.formDetailInfo dl dd{
   height:  25px;
   width: 100%;
margin-left: 200px;
}

.formDetailInfo dl dt{
   height:  25px;

}
.hideMe{
    position: absolute;
    right: 30px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    cursor: pointer;
    height: 24px;
    width:24px;
    background: url(../img/close.png) center center no-repeat;
}
.formDetailInfo h2 a{
    text-decoration: none;
    cursor: pointer;
    font-size: 110%;
    font-weight: bold;
    color:#666;
}
.formDetailInfo h2 a:hover{
    color:#4ca83d ;
    cursor: pointer;
}
.formDetailInfo h2{
    margin: 10px 0;
}
dd .bold{
    font-size: 140%;
    color: #333;
}
.hasNmBtn{
    width: 150px;
}
.prev{
    background: url(../img/prev.png) top left no-repeat;
    text-indent:  -99px;
    display: inline-block;
    height: 16px;
    width: 16px;
    overflow: hidden;
    cursor: pointer;
}
.next{
    background: url(../img/next.png) top left no-repeat;
    text-indent:  -99px;
    display: inline-block;
    height: 16px;
    width: 16px;
    overflow: hidden;
    cursor: pointer;
}
.popup{
    position: fixed;
    top:40%;
    left:30%;
    height:250px;
    width: 400px;
    display:none;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius:10px;
    border: 4px solid #666;
    background-color: #fff;
    z-index: 99;
}